[INFO] cloning repository https://github.com/udoprog/ptscan
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/udoprog/ptscan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fudoprog%2Fptscan", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fudoprog%2Fptscan'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] efd3cc00c7d11b23d3b4c165cd920301ee08cea3
[INFO] building udoprog/ptscan against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fudoprog%2Fptscan" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:   3% (137/4225)
Updating files:   3% (151/4225)
Updating files:   4% (169/4225)
Updating files:   5% (212/4225)
Updating files:   5% (237/4225)
Updating files:   6% (254/4225)
Updating files:   7% (296/4225)
Updating files:   8% (338/4225)
Updating files:   9% (381/4225)
Updating files:  10% (423/4225)
Updating files:  11% (465/4225)
Updating files:  12% (507/4225)
Updating files:  13% (550/4225)
Updating files:  14% (592/4225)
Updating files:  15% (634/4225)
Updating files:  16% (676/4225)
Updating files:  17% (719/4225)
Updating files:  18% (761/4225)
Updating files:  19% (803/4225)
Updating files:  20% (845/4225)
Updating files:  21% (888/4225)
Updating files:  22% (930/4225)
Updating files:  23% (972/4225)
Updating files:  24% (1014/4225)
Updating files:  25% (1057/4225)
Updating files:  26% (1099/4225)
Updating files:  27% (1141/4225)
Updating files:  28% (1183/4225)
Updating files:  29% (1226/4225)
Updating files:  30% (1268/4225)
Updating files:  31% (1310/4225)
Updating files:  32% (1352/4225)
Updating files:  33% (1395/4225)
Updating files:  34% (1437/4225)
Updating files:  35% (1479/4225)
Updating files:  36% (1521/4225)
Updating files:  37% (1564/4225)
Updating files:  38% (1606/4225)
Updating files:  39% (1648/4225)
Updating files:  40% (1690/4225)
Updating files:  41% (1733/4225)
Updating files:  42% (1775/4225)
Updating files:  43% (1817/4225)
Updating files:  44% (1859/4225)
Updating files:  45% (1902/4225)
Updating files:  46% (1944/4225)
Updating files:  47% (1986/4225)
Updating files:  48% (2028/4225)
Updating files:  49% (2071/4225)
Updating files:  50% (2113/4225)
Updating files:  51% (2155/4225)
Updating files:  52% (2197/4225)
Updating files:  53% (2240/4225)
Updating files:  54% (2282/4225)
Updating files:  55% (2324/4225)
Updating files:  56% (2366/4225)
Updating files:  57% (2409/4225)
Updating files:  58% (2451/4225)
Updating files:  59% (2493/4225)
Updating files:  60% (2535/4225)
Updating files:  61% (2578/4225)
Updating files:  62% (2620/4225)
Updating files:  63% (2662/4225)
Updating files:  64% (2704/4225)
Updating files:  65% (2747/4225)
Updating files:  66% (2789/4225)
Updating files:  67% (2831/4225)
Updating files:  68% (2873/4225)
Updating files:  69% (2916/4225)
Updating files:  70% (2958/4225)
Updating files:  71% (3000/4225)
Updating files:  72% (3042/4225)
Updating files:  73% (3085/4225)
Updating files:  74% (3127/4225)
Updating files:  75% (3169/4225)
Updating files:  76% (3211/4225)
Updating files:  77% (3254/4225)
Updating files:  78% (3296/4225)
Updating files:  79% (3338/4225)
Updating files:  80% (3380/4225)
Updating files:  81% (3423/4225)
Updating files:  82% (3465/4225)
Updating files:  83% (3507/4225)
Updating files:  84% (3549/4225)
Updating files:  85% (3592/4225)
Updating files:  86% (3634/4225)
Updating files:  87% (3676/4225)
Updating files:  88% (3718/4225)
Updating files:  89% (3761/4225)
Updating files:  90% (3803/4225)
Updating files:  91% (3845/4225)
Updating files:  92% (3887/4225)
Updating files:  93% (3930/4225)
Updating files:  94% (3972/4225)
Updating files:  95% (4014/4225)
Updating files:  96% (4056/4225)
Updating files:  97% (4099/4225)
Updating files:  98% (4141/4225)
Updating files:  99% (4183/4225)
Updating files: 100% (4225/4225)
Updating files: 100% (4225/4225), done.
[INFO] validating manifest of git repo https://github.com/udoprog/ptscan on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-7/source/.cargo/config
[INFO] started tweaking git repo https://github.com/udoprog/ptscan
[INFO] finished tweaking git repo https://github.com/udoprog/ptscan
[INFO] tweaked toml for git repo https://github.com/udoprog/ptscan written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/udoprog/ptscan already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded lalrpop-util v0.19.0
[INFO] [stderr]   Downloaded cascade v0.1.4
[INFO] [stderr]   Downloaded shellexpand v2.0.0
[INFO] [stderr]   Downloaded ena v0.14.0
[INFO] [stderr]   Downloaded fixed-map v0.7.1
[INFO] [stderr]   Downloaded rust-embed-impl v5.6.0
[INFO] [stderr]   Downloaded rust-embed v5.6.0
[INFO] [stderr]   Downloaded gtk v0.9.1
[INFO] [stderr]   Downloaded lalrpop v0.19.0
[INFO] [stderr]   Downloaded fixed-map-derive v0.7.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1d383ff70d8bf688f1174391ae9bbb2871b1f42e158d105132982b0dbac2ac17
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "1d383ff70d8bf688f1174391ae9bbb2871b1f42e158d105132982b0dbac2ac17", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1d383ff70d8bf688f1174391ae9bbb2871b1f42e158d105132982b0dbac2ac17", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d383ff70d8bf688f1174391ae9bbb2871b1f42e158d105132982b0dbac2ac17", kill_on_drop: false }`
[INFO] [stdout] 1d383ff70d8bf688f1174391ae9bbb2871b1f42e158d105132982b0dbac2ac17
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] df894490ff270345e061e3416ee2848a69f257b1c073350798e3692e28dd38cd
[INFO] running `Command { std: "docker" "start" "-a" "df894490ff270345e061e3416ee2848a69f257b1c073350798e3692e28dd38cd", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.39
[INFO] [stderr]    Compiling serde_derive v1.0.115
[INFO] [stderr]    Compiling serde v1.0.115
[INFO] [stderr]    Compiling libc v0.2.76
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]    Compiling pkg-config v0.3.18
[INFO] [stderr]    Compiling strum v0.18.0
[INFO] [stderr]    Compiling version-compare v0.0.10
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling proc-macro-hack v0.5.18
[INFO] [stderr]    Compiling anyhow v1.0.32
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]    Compiling either v1.6.0
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]    Compiling futures-core v0.3.5
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling once_cell v1.4.1
[INFO] [stderr]    Compiling futures-sink v0.3.5
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-io v0.3.5
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling ahash v0.3.8
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling siphasher v0.3.3
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling strsim v0.9.3
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.4
[INFO] [stderr]    Compiling bit-vec v0.6.2
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling gio v0.9.0
[INFO] [stderr]    Compiling rayon-core v1.7.1
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling fixedbitset v0.2.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling diff v0.1.12
[INFO] [stderr]    Compiling pango v0.9.1
[INFO] [stderr]    Compiling gdk-pixbuf v0.9.0
[INFO] [stderr]    Compiling cairo-rs v0.9.1
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling lalrpop-util v0.19.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.9
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling ntapi v0.3.4
[INFO] [stderr]    Compiling gdk v0.13.1
[INFO] [stderr]    Compiling atk v0.9.0
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling encoding_rs v0.8.23
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling smallvec v1.4.2
[INFO] [stderr]    Compiling half v1.6.0
[INFO] [stderr]    Compiling instant v0.1.6
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling itoa v0.4.6
[INFO] [stderr]    Compiling dynamicvec v0.0.0 (/opt/rustwide/workdir/crates/dynamicvec)
[INFO] [stderr]    Compiling hex v0.4.2
[INFO] [stderr]    Compiling cascade v0.1.4
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]    Compiling futures-channel v0.3.5
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling lock_api v0.4.1
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling futures-task v0.3.5
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling hashbrown v0.8.2
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.5
[INFO] [stderr]    Compiling indexmap v1.5.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling num-bigint v0.3.0
[INFO] [stderr]    Compiling num-iter v0.1.41
[INFO] [stderr]    Compiling num-rational v0.3.0
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling rayon v1.3.1
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling hashbrown v0.6.3
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling phf_shared v0.8.0
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling bit-set v0.5.2
[INFO] [stderr]    Compiling gtk v0.9.1
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling rust-embed-utils v5.0.0
[INFO] [stderr]    Compiling aho-corasick v0.7.13
[INFO] [stderr]    Compiling smallvec v0.6.13
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling ptscan-gui v0.0.0 (/opt/rustwide/workdir/crates/ptscan-gui)
[INFO] [stderr]    Compiling ena v0.14.0
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling dirs v1.0.5
[INFO] [stderr]    Compiling dirs-sys v0.3.5
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling crossbeam-channel v0.4.3
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling term v0.5.2
[INFO] [stderr]    Compiling const-random-macro v0.1.8
[INFO] [stderr]    Compiling dirs v2.0.2
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling num-complex v0.3.0
[INFO] [stderr]    Compiling shellexpand v2.0.0
[INFO] [stderr]    Compiling ascii-canvas v2.0.0
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling chrono v0.4.15
[INFO] [stderr]    Compiling const-random v0.1.8
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling ahash v0.2.18
[INFO] [stderr]    Compiling uuid v0.8.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.20
[INFO] [stderr]    Compiling strum_macros v0.18.0
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]    Compiling fixed-map-derive v0.7.0
[INFO] [stderr]    Compiling rust-embed-impl v5.6.0
[INFO] [stderr]    Compiling rust-embed v5.6.0
[INFO] [stderr]    Compiling thiserror v1.0.20
[INFO] [stderr]    Compiling pin-project v0.4.23
[INFO] [stderr]    Compiling futures-util v0.3.5
[INFO] [stderr]    Compiling futures-executor v0.3.5
[INFO] [stderr]    Compiling futures v0.3.5
[INFO] [stderr]    Compiling serde_cbor v0.11.1
[INFO] [stderr]    Compiling bigdecimal v0.1.2
[INFO] [stderr]    Compiling fixed-map v0.7.1
[INFO] [stderr]    Compiling lru v0.6.0
[INFO] [stderr]    Compiling toml v0.5.6
[INFO] [stderr]    Compiling string_cache v0.8.0
[INFO] [stderr]    Compiling docopt v1.1.0
[INFO] [stderr]    Compiling petgraph v0.5.1
[INFO] [stderr]    Compiling system-deps v1.3.2
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling num v0.3.0
[INFO] [stderr]    Compiling glib-sys v0.10.0
[INFO] [stderr]    Compiling gobject-sys v0.10.0
[INFO] [stderr]    Compiling gio-sys v0.10.0
[INFO] [stderr]    Compiling pango-sys v0.10.0
[INFO] [stderr]    Compiling cairo-sys-rs v0.10.0
[INFO] [stderr]    Compiling gdk-pixbuf-sys v0.10.0
[INFO] [stderr]    Compiling glib-macros v0.10.1
[INFO] [stderr]    Compiling gdk-sys v0.10.0
[INFO] [stderr]    Compiling atk-sys v0.10.0
[INFO] [stderr]    Compiling gtk-sys v0.10.0
[INFO] [stderr]    Compiling lalrpop v0.19.0
[INFO] [stderr]    Compiling glib v0.10.1
[INFO] [stderr]    Compiling ptscan v0.0.0 (/opt/rustwide/workdir/crates/ptscan)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> crates/ptscan/src/lib.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::shared::minwindef::DWORD;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> crates/ptscan/src/utils/mod.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     shared::{
[INFO] [stdout]    |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> crates/ptscan/src/utils/mod.rs:43:18
[INFO] [stdout]    |
[INFO] [stdout] 43 |     use std::os::windows::ffi::OsStringExt;
[INFO] [stdout]    |                  ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> crates/ptscan/src/utils/mod.rs:59:18
[INFO] [stdout]    |
[INFO] [stdout] 59 |     use std::os::windows::ffi::OsStringExt;
[INFO] [stdout]    |                  ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `winapi::shared`, `winapi::um`
[INFO] [stdout]   --> crates/ptscan/src/utils/mod.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     shared::{
[INFO] [stdout]    |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] ...
[INFO] [stdout] 18 |     um::{errhandlingapi, winnt, wow64apiset},
[INFO] [stdout]    |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> crates/ptscan/src/error.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::shared::{minwindef::DWORD, ntdef::NTSTATUS};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> crates/ptscan/src/module.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     shared::minwindef::{DWORD, HMODULE},
[INFO] [stdout]   |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::um`
[INFO] [stdout]    --> crates/ptscan/src/utils/mod.rs:163:21
[INFO] [stdout]     |
[INFO] [stdout] 163 |         use winapi::um::handleapi;
[INFO] [stdout]     |                     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::um`
[INFO] [stdout]  --> crates/ptscan/src/module.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     um::{libloaderapi, psapi},
[INFO] [stdout]   |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> crates/ptscan/src/process.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     shared::{
[INFO] [stdout]    |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ntapi::ntpsapi`
[INFO] [stdout]  --> crates/ptscan/src/process.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use ntapi::ntpsapi;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ no `ntpsapi` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `winapi::shared`, `winapi::um`
[INFO] [stdout]   --> crates/ptscan/src/process.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     shared::{
[INFO] [stdout]    |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] ...
[INFO] [stdout] 16 |     um::{memoryapi, processthreadsapi, psapi, winnt},
[INFO] [stdout]    |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> crates/ptscan/src/system.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     shared::minwindef::{DWORD, FALSE},
[INFO] [stdout]   |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::shared`
[INFO] [stdout]   --> crates/ptscan/src/process_handle.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 | use winapi::shared::winerror;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> crates/ptscan/src/thread.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     shared::{
[INFO] [stdout]   |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::um`
[INFO] [stdout]  --> crates/ptscan/src/system.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     um::{handleapi, psapi, sysinfoapi, tlhelp32, winnt},
[INFO] [stdout]   |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `winapi::shared`, `winapi::um`
[INFO] [stdout]   --> crates/ptscan/src/thread.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout] 7  |     shared::{
[INFO] [stdout]    |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] ...
[INFO] [stdout] 11 |     um::{processthreadsapi, winbase, winnt},
[INFO] [stdout]    |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `ntapi::ntpsapi`, `tlhelp32::CreateToolhelp32Snapshot`, `tlhelp32::TH32CS_SNAPTHREAD`, `tlhelp32::LPTHREADENTRY32`, `tlhelp32::THREADENTRY32`
[INFO] [stdout]    --> crates/ptscan/src/system.rs:21:20
[INFO] [stdout]     |
[INFO] [stdout] 21  |     use tlhelp32::{CreateToolhelp32Snapshot, TH32CS_SNAPTHREAD};
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |         use tlhelp32::{LPTHREADENTRY32, THREADENTRY32};
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout]     | 
[INFO] [stdout]    ::: crates/ptscan/src/thread.rs:77:20
[INFO] [stdout]     |
[INFO] [stdout] 77  |         use ntapi::ntpsapi::{
[INFO] [stdout]     |                    ^^^^^^^ could not find `ntpsapi` in `ntapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]    --> crates/ptscan/src/utils/mod.rs:25:21
[INFO] [stdout]     |
[INFO] [stdout] 25  |             winapi::shared::minwindef::TRUE => Ok(()),
[INFO] [stdout]     |                     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] ...
[INFO] [stdout] 148 |         checked!(wow64apiset::IsWow64Process(self.0, &mut out as PBOOL))?;
[INFO] [stdout]     |         ---------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]    --> crates/ptscan/src/utils/mod.rs:25:21
[INFO] [stdout]     |
[INFO] [stdout] 25  |               winapi::shared::minwindef::TRUE => Ok(()),
[INFO] [stdout]     |                       ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: crates/ptscan/src/process.rs:224:22
[INFO] [stdout]     |
[INFO] [stdout] 224 |           let result = checked!(memoryapi::WriteProcessMemory(
[INFO] [stdout]     |  ______________________-
[INFO] [stdout] 225 | |             **self.handle,
[INFO] [stdout] 226 | |             address.convert::<LPVOID>()?,
[INFO] [stdout] 227 | |             buffer.as_ptr() as LPCVOID,
[INFO] [stdout] 228 | |             buffer.len() as SIZE_T,
[INFO] [stdout] 229 | |             &mut bytes_written as *mut SIZE_T,
[INFO] [stdout] 230 | |         ));
[INFO] [stdout]     | |__________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]    --> crates/ptscan/src/utils/mod.rs:25:21
[INFO] [stdout]     |
[INFO] [stdout] 25  |               winapi::shared::minwindef::TRUE => Ok(()),
[INFO] [stdout]     |                       ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: crates/ptscan/src/process.rs:248:22
[INFO] [stdout]     |
[INFO] [stdout] 248 |           let result = checked!(memoryapi::ReadProcessMemory(
[INFO] [stdout]     |  ______________________-
[INFO] [stdout] 249 | |             **self.handle,
[INFO] [stdout] 250 | |             address.convert::<LPCVOID>()?,
[INFO] [stdout] 251 | |             buffer.as_mut_ptr() as LPVOID,
[INFO] [stdout] 252 | |             buffer.len() as SIZE_T,
[INFO] [stdout] 253 | |             &mut bytes_read as *mut SIZE_T,
[INFO] [stdout] 254 | |         ));
[INFO] [stdout]     | |__________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> crates/ptscan/src/utils/mod.rs:25:21
[INFO] [stdout]    |
[INFO] [stdout] 25 |               winapi::shared::minwindef::TRUE => Ok(()),
[INFO] [stdout]    |                       ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: crates/ptscan/src/thread.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | /         checked!(winbase::GetThreadSelectorEntry(
[INFO] [stdout] 35 | |             **self.handle,
[INFO] [stdout] 36 | |             selector,
[INFO] [stdout] 37 | |             &mut entry as *mut _ as winbase::LPLDT_ENTRY,
[INFO] [stdout] 38 | |         ))?;
[INFO] [stdout]    | |__________- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]    --> crates/ptscan/src/utils/mod.rs:25:21
[INFO] [stdout]     |
[INFO] [stdout] 25  |               winapi::shared::minwindef::TRUE => Ok(()),
[INFO] [stdout]     |                       ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: crates/ptscan/src/thread.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 | /         checked!(processthreadsapi::GetThreadContext(
[INFO] [stdout] 108 | |             **self.handle,
[INFO] [stdout] 109 | |             &mut context as winnt::PCONTEXT
[INFO] [stdout] 110 | |         ))?;
[INFO] [stdout]     | |__________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> crates/ptscan/src/utils/mod.rs:42:48
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn fixed_string(cb: impl Fn(winnt::LPWSTR, DWORD) -> DWORD) -> io::Result<OsString> {
[INFO] [stdout]    |                                                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> crates/ptscan/src/utils/mod.rs:42:58
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn fixed_string(cb: impl Fn(winnt::LPWSTR, DWORD) -> DWORD) -> io::Result<OsString> {
[INFO] [stdout]    |                                                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> crates/ptscan/src/utils/mod.rs:47:49
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let out = cb(buf.as_mut_ptr(), buf.len() as DWORD);
[INFO] [stdout]    |                                                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> crates/ptscan/src/utils/mod.rs:58:51
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn growable_string(cb: impl Fn(winnt::LPWSTR, DWORD) -> DWORD) -> io::Result<OsString> {
[INFO] [stdout]    |                                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> crates/ptscan/src/utils/mod.rs:58:61
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn growable_string(cb: impl Fn(winnt::LPWSTR, DWORD) -> DWORD) -> io::Result<OsString> {
[INFO] [stdout]    |                                                             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> crates/ptscan/src/utils/mod.rs:64:53
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let len = cb(buf.as_mut_ptr(), buf.len() as DWORD);
[INFO] [stdout]    |                                                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> crates/ptscan/src/utils/mod.rs:89:25
[INFO] [stdout]    |
[INFO] [stdout] 89 |     cb: impl Fn(*mut T, DWORD, LPDWORD) -> BOOL,
[INFO] [stdout]    |                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope
[INFO] [stdout]   --> crates/ptscan/src/utils/mod.rs:89:32
[INFO] [stdout]    |
[INFO] [stdout] 89 |     cb: impl Fn(*mut T, DWORD, LPDWORD) -> BOOL,
[INFO] [stdout]    |                                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> crates/ptscan/src/utils/mod.rs:89:44
[INFO] [stdout]    |
[INFO] [stdout] 89 |     cb: impl Fn(*mut T, DWORD, LPDWORD) -> BOOL,
[INFO] [stdout]    |                                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> crates/ptscan/src/utils/mod.rs:96:25
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let mut needed: DWORD = 0u32;
[INFO] [stdout]    |                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> crates/ptscan/src/utils/mod.rs:100:31
[INFO] [stdout]     |
[INFO] [stdout] 100 |             buf.capacity() as DWORD,
[INFO] [stdout]     |                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope
[INFO] [stdout]    --> crates/ptscan/src/utils/mod.rs:101:28
[INFO] [stdout]     |
[INFO] [stdout] 101 |             &mut needed as LPDWORD,
[INFO] [stdout]     |                            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> crates/ptscan/src/utils/mod.rs:104:18
[INFO] [stdout]     |
[INFO] [stdout] 104 |         if ok != TRUE {
[INFO] [stdout]     |                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]    --> crates/ptscan/src/utils/mod.rs:147:22
[INFO] [stdout]     |
[INFO] [stdout] 147 |         let mut out: BOOL = FALSE;
[INFO] [stdout]     |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> crates/ptscan/src/utils/mod.rs:147:29
[INFO] [stdout]     |
[INFO] [stdout] 147 |         let mut out: BOOL = FALSE;
[INFO] [stdout]     |                             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PBOOL` in this scope
[INFO] [stdout]    --> crates/ptscan/src/utils/mod.rs:148:66
[INFO] [stdout]     |
[INFO] [stdout] 148 |         checked!(wow64apiset::IsWow64Process(self.0, &mut out as PBOOL))?;
[INFO] [stdout]     |                                                                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> crates/ptscan/src/utils/mod.rs:149:19
[INFO] [stdout]     |
[INFO] [stdout] 149 |         Ok(out == TRUE)
[INFO] [stdout]     |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> crates/ptscan/src/utils/mod.rs:167:18
[INFO] [stdout]     |
[INFO] [stdout] 167 |         if ok != TRUE {
[INFO] [stdout]     |                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> crates/ptscan/src/error.rs:12:20
[INFO] [stdout]    |
[INFO] [stdout] 12 |     BadRegionState(DWORD),
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> crates/ptscan/src/error.rs:14:19
[INFO] [stdout]    |
[INFO] [stdout] 14 |     BadRegionType(DWORD),
[INFO] [stdout]    |                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope
[INFO] [stdout]   --> crates/ptscan/src/error.rs:28:20
[INFO] [stdout]    |
[INFO] [stdout] 28 |     ThreadTebError(NTSTATUS),
[INFO] [stdout]    |                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stdout]   --> crates/ptscan/src/module.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |     module: HMODULE,
[INFO] [stdout]    |             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stdout]   --> crates/ptscan/src/module.rs:24:31
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub(crate) fn new(module: HMODULE) -> Self {
[INFO] [stdout]    |                               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> crates/ptscan/src/module.rs:53:56
[INFO] [stdout]    |
[INFO] [stdout] 53 |                 mem::size_of::<psapi::MODULEINFO>() as DWORD,
[INFO] [stdout]    |                                                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> crates/ptscan/src/process.rs:163:30
[INFO] [stdout]     |
[INFO] [stdout] 163 |             inherit_handles: FALSE,
[INFO] [stdout]     |                              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope
[INFO] [stdout]    --> crates/ptscan/src/process.rs:222:32
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let mut bytes_written: SIZE_T = 0;
[INFO] [stdout]     |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> crates/ptscan/src/process.rs:226:31
[INFO] [stdout]     |
[INFO] [stdout] 159 | impl Process {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<LPVOID>`
[INFO] [stdout] ...
[INFO] [stdout] 226 |             address.convert::<LPVOID>()?,
[INFO] [stdout]     |                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope
[INFO] [stdout]    --> crates/ptscan/src/process.rs:227:32
[INFO] [stdout]     |
[INFO] [stdout] 227 |             buffer.as_ptr() as LPCVOID,
[INFO] [stdout]     |                                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope
[INFO] [stdout]    --> crates/ptscan/src/process.rs:228:29
[INFO] [stdout]     |
[INFO] [stdout] 228 |             buffer.len() as SIZE_T,
[INFO] [stdout]     |                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope
[INFO] [stdout]    --> crates/ptscan/src/process.rs:229:40
[INFO] [stdout]     |
[INFO] [stdout] 229 |             &mut bytes_written as *mut SIZE_T,
[INFO] [stdout]     |                                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope
[INFO] [stdout]    --> crates/ptscan/src/process.rs:246:29
[INFO] [stdout]     |
[INFO] [stdout] 246 |         let mut bytes_read: SIZE_T = 0;
[INFO] [stdout]     |                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope
[INFO] [stdout]    --> crates/ptscan/src/process.rs:250:31
[INFO] [stdout]     |
[INFO] [stdout] 159 | impl Process {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<LPCVOID>`
[INFO] [stdout] ...
[INFO] [stdout] 250 |             address.convert::<LPCVOID>()?,
[INFO] [stdout]     |                               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> crates/ptscan/src/process.rs:251:36
[INFO] [stdout]     |
[INFO] [stdout] 251 |             buffer.as_mut_ptr() as LPVOID,
[INFO] [stdout]     |                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope
[INFO] [stdout]    --> crates/ptscan/src/process.rs:252:29
[INFO] [stdout]     |
[INFO] [stdout] 252 |             buffer.len() as SIZE_T,
[INFO] [stdout]     |                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope
[INFO] [stdout]    --> crates/ptscan/src/process.rs:253:37
[INFO] [stdout]     |
[INFO] [stdout] 253 |             &mut bytes_read as *mut SIZE_T,
[INFO] [stdout]     |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope
[INFO] [stdout]    --> crates/ptscan/src/process.rs:266:23
[INFO] [stdout]     |
[INFO] [stdout] 266 |         const LENGTH: SIZE_T = mem::size_of::<winnt::MEMORY_BASIC_INFORMATION>() as SIZE_T;
[INFO] [stdout]     |                       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope
[INFO] [stdout]    --> crates/ptscan/src/process.rs:266:85
[INFO] [stdout]     |
[INFO] [stdout] 266 |         const LENGTH: SIZE_T = mem::size_of::<winnt::MEMORY_BASIC_INFORMATION>() as SIZE_T;
[INFO] [stdout]     |                                                                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope
[INFO] [stdout]    --> crates/ptscan/src/process.rs:276:27
[INFO] [stdout]     |
[INFO] [stdout] 276 |                 LENGTH as SIZE_T,
[INFO] [stdout]     |                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> crates/ptscan/src/process.rs:386:21
[INFO] [stdout]     |
[INFO] [stdout] 386 |     desired_access: DWORD,
[INFO] [stdout]     |                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]    --> crates/ptscan/src/process.rs:387:22
[INFO] [stdout]     |
[INFO] [stdout] 387 |     inherit_handles: BOOL,
[INFO] [stdout]     |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> crates/ptscan/src/process.rs:418:30
[INFO] [stdout]     |
[INFO] [stdout] 418 |             inherit_handles: TRUE,
[INFO] [stdout]     |                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> crates/ptscan/src/process.rs:545:24
[INFO] [stdout]     |
[INFO] [stdout] 545 |     fn decode(protect: DWORD, set: &mut fixed_map::Set<MemoryProtect>) {
[INFO] [stdout]     |                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope
[INFO] [stdout]   --> crates/ptscan/src/system.rs:23:27
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let handle = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD, 0) };
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPTHREAD` in this scope
[INFO] [stdout]   --> crates/ptscan/src/system.rs:23:52
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let handle = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD, 0) };
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `THREADENTRY32` in this scope
[INFO] [stdout]    --> crates/ptscan/src/system.rs:113:43
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl<'a> Iterator for Threads {
[INFO] [stdout]     |        - help: you might be missing a type parameter: `, THREADENTRY32`
[INFO] [stdout] ...
[INFO] [stdout] 113 |                 e.dwSize = mem::size_of::<THREADENTRY32>() as DWORD;
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> crates/ptscan/src/system.rs:113:63
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 e.dwSize = mem::size_of::<THREADENTRY32>() as DWORD;
[INFO] [stdout]     |                                                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPTHREADENTRY32` in this scope
[INFO] [stdout]    --> crates/ptscan/src/system.rs:115:71
[INFO] [stdout]     |
[INFO] [stdout] 115 |                 if unsafe { tlhelp32::Thread32Next(*self.handle, e as LPTHREADENTRY32) } == FALSE {
[INFO] [stdout]     |                                                                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> crates/ptscan/src/system.rs:115:93
[INFO] [stdout]     |
[INFO] [stdout] 115 |                 if unsafe { tlhelp32::Thread32Next(*self.handle, e as LPTHREADENTRY32) } == FALSE {
[INFO] [stdout]     |                                                                                             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `THREADENTRY32` in this scope
[INFO] [stdout]    --> crates/ptscan/src/system.rs:123:43
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl<'a> Iterator for Threads {
[INFO] [stdout]     |        - help: you might be missing a type parameter: `, THREADENTRY32`
[INFO] [stdout] ...
[INFO] [stdout] 123 |                 e.dwSize = mem::size_of::<THREADENTRY32>() as DWORD;
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> crates/ptscan/src/system.rs:123:63
[INFO] [stdout]     |
[INFO] [stdout] 123 |                 e.dwSize = mem::size_of::<THREADENTRY32>() as DWORD;
[INFO] [stdout]     |                                                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPTHREADENTRY32` in this scope
[INFO] [stdout]    --> crates/ptscan/src/system.rs:126:72
[INFO] [stdout]     |
[INFO] [stdout] 126 |                 if unsafe { tlhelp32::Thread32First(*self.handle, e as LPTHREADENTRY32) } == FALSE {
[INFO] [stdout]     |                                                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> crates/ptscan/src/system.rs:126:94
[INFO] [stdout]     |
[INFO] [stdout] 126 |                 if unsafe { tlhelp32::Thread32First(*self.handle, e as LPTHREADENTRY32) } == FALSE {
[INFO] [stdout]     |                                                                                              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> crates/ptscan/src/thread.rs:26:30
[INFO] [stdout]    |
[INFO] [stdout] 26 |             inherit_handles: FALSE,
[INFO] [stdout]    |                              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> crates/ptscan/src/thread.rs:31:51
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub fn thread_selector_entry(&self, selector: DWORD) -> Result<winnt::LDT_ENTRY, Error> {
[INFO] [stdout]    |                                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> crates/ptscan/src/thread.rs:82:25
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let mut length: DWORD = 0;
[INFO] [stdout]    |                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> crates/ptscan/src/thread.rs:89:63
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 mem::size_of::<THREAD_BASIC_INFORMATION>() as DWORD,
[INFO] [stdout]    |                                                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> crates/ptscan/src/thread.rs:137:58
[INFO] [stdout]     |
[INFO] [stdout] 137 |             .thread_selector_entry(self.context.SegFs as DWORD)?;
[INFO] [stdout]     |                                                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> crates/ptscan/src/thread.rs:175:21
[INFO] [stdout]     |
[INFO] [stdout] 175 |     desired_access: DWORD,
[INFO] [stdout]     |                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]    --> crates/ptscan/src/thread.rs:176:22
[INFO] [stdout]     |
[INFO] [stdout] 176 |     inherit_handles: BOOL,
[INFO] [stdout]     |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> crates/ptscan/src/thread.rs:207:30
[INFO] [stdout]     |
[INFO] [stdout] 207 |             inherit_handles: TRUE,
[INFO] [stdout]     |                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> crates/ptscan/src/lib.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub type ProcessId = DWORD;
[INFO] [stdout]    |                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> crates/ptscan/src/lib.rs:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub type ThreadId = DWORD;
[INFO] [stdout]    |                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]     --> crates/ptscan/src/process_handle.rs:1390:10
[INFO] [stdout]      |
[INFO] [stdout] 1390 |         };
[INFO] [stdout]      |          ^ help: remove this semicolon
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> crates/ptscan/src/utils/mod.rs:53:18
[INFO] [stdout]    |
[INFO] [stdout] 53 |     Ok(OsString::from_wide(&buf[..(out as usize)]))
[INFO] [stdout]    |                  ^^^^^^^^^ function or associated item not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> crates/ptscan/src/utils/mod.rs:83:18
[INFO] [stdout]    |
[INFO] [stdout] 83 |     Ok(OsString::from_wide(&buf[..len]))
[INFO] [stdout]    |                  ^^^^^^^^^ function or associated item not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> crates/ptscan/src/process.rs:386:5
[INFO] [stdout]     |
[INFO] [stdout] 386 |     desired_access: DWORD,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout]     |
[INFO] [stdout]     = note: cannot satisfy `_: Default`
[INFO] [stdout]     = note: required by `std::default::Default::default`
[INFO] [stdout]     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> crates/ptscan/src/thread.rs:175:5
[INFO] [stdout]     |
[INFO] [stdout] 175 |     desired_access: DWORD,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout]     |
[INFO] [stdout]     = note: cannot satisfy `_: Default`
[INFO] [stdout]     = note: required by `std::default::Default::default`
[INFO] [stdout]     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 89 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0283`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ptscan`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "df894490ff270345e061e3416ee2848a69f257b1c073350798e3692e28dd38cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "df894490ff270345e061e3416ee2848a69f257b1c073350798e3692e28dd38cd", kill_on_drop: false }`
[INFO] [stdout] df894490ff270345e061e3416ee2848a69f257b1c073350798e3692e28dd38cd
